﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using XYS.Core.Api.Attributes;
using XYS.Service.Core.Attributes;

namespace XYS.Core.Api
{
    /// <summary>
    /// 健康检测
    /// </summary>
    [OpenApiInfo("Health", "健康检测接口", "V1.0.0")]
    [Route("api/[controller]")]
    [AllowAnonymous]
    public class HealthController : BaseController
    {
        /// <summary>
        /// 检查状态
        /// </summary>
        /// <returns></returns>
        [HttpGet("check")]
        [AllowAnonymous]
        [ResultModelIgnore]
        public IActionResult Health()
        {
            /*
             * 健康检查逻辑
             */

            return Ok();
        }


    }
}
